package com.xhsj.user.hr.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.xhsj.user.hr.system.entity.TbHrDemandApplyDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
/**
 * <p>
 * 需求申请详细表 Mapper 接口
 * </p>
 *
 * @author suxiaolin
 * @since 2020-11-11
 */
@Mapper
public interface TbHrDemandApplyDetailMapper extends BaseMapper<TbHrDemandApplyDetail> {

    /**
     * 通过申请id 查询列表
     * @author 苏小林
     * @date 2020/11/11 15:38
     * @param: id
     * @return: java.util.List<com.xhsj.user.hr.system.entity.TbHrDemandApplyDetail>
     */
    List<TbHrDemandApplyDetail> getByApplyId(@Param("id") Long id);

    /**
     * 通过applyId删除数据
     * @author 苏小林
     * @date 2020/11/11 15:47
     * @param: id
     */
    void delByApplyId(@Param("id") Long id);
}
